package com.lzs.PO;

import java.util.ArrayList;
import java.util.List;

public class Area {
private String area_id;
private String area_name;
private String area_rank;
private String father_id;
private boolean open = true;
private boolean checked = false;
private List<Area> children = new ArrayList<Area>();
private List<Mechanism> mechanismlist = new ArrayList<Mechanism>();



public List<Mechanism> getMechanismlist() {
	return mechanismlist;
}
public void setMechanismlist(List<Mechanism> mechanismlist) {
	this.mechanismlist = mechanismlist;
}
public String getArea_id() {
	return area_id;
}
public void setArea_id(String area_id) {
	this.area_id = area_id;
}
public String getArea_name() {
	return area_name;
}
public void setArea_name(String area_name) {
	this.area_name = area_name;
}
public String getArea_rank() {
	return area_rank;
}
public void setArea_rank(String area_rank) {
	this.area_rank = area_rank;
}
public String getFather_id() {
	return father_id;
}
public void setFather_id(String father_id) {
	this.father_id = father_id;
}
public boolean isOpen() {
	return open;
}
public void setOpen(boolean open) {
	this.open = open;
}
public boolean isChecked() {
	return checked;
}
public void setChecked(boolean checked) {
	this.checked = checked;
}
public List<Area> getChildren() {
	return children;
}
public void setChildren(List<Area> children) {
	this.children = children;
}
@Override
public String toString() {
	return "Area [area_id=" + area_id + ", area_name=" + area_name + ", area_rank=" + area_rank + ", father_id="
			+ father_id + ", open=" + open + ", checked=" + checked + ", children=" + children + ", mechanismlist="
			+ mechanismlist + "]";
}






}
